package com.zou.service;

import com.zou.commons.domain.ReturnObject;
import com.zou.pojo.MaxMenu;

import java.util.List;

public interface MaxMenuService {
    List<MaxMenu> querySomeMaxMenuByMaxMenu(MaxMenu maxMenu);

    // 查看是否存在这个名字
    boolean queryIsExistMaxName(String maxName);

    ReturnObject editMaxMenu(Integer id,String name);

    ReturnObject addMaxMenu(String name);

    ReturnObject delMaxMenuById(Integer id);
}
